//
//  TJCreateEmployeeInputView.m
//  BaoDian
//
//  Created by mac on 2024/7/27.
//

#import "TJCreateEmployeeInputView.h"
#import "QMUITextField.h"

@implementation TJCreateEmployeeInputView


- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {

        
        UILabel *titleLabel = [UILabel lableWithSuperView:self font:UIFontMake(14) color:UIColor.whiteColor title:nil textAlignment:NSTextAlignmentLeft];
        [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.centerY.offset(0);
            make.left.offset(16);
        }];
 
        QMUITextField *textField = [QMUITextField addToView:self];
        textField.font = UIFontMake(14);
        textField.tintColor = UIColor.tj_cursorColor;
        textField.returnKeyType = UIReturnKeyDone;
        textField.textColor = UIColor.whiteColor;
        textField.placeholderColor = UIColor.tj_placeholderTextColor;
        [textField mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.offset(112);
            make.right.inset(16);
            make.top.bottom.offset(0);
        }];
 
        _titleLabel = titleLabel;
        _textField = textField;
     }
    return self;
}
 

@end
